package com.fishpond.demo

import android.os.Bundle
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import com.fishpond.demo.activity.BallActivity
import com.fishpond.demo.activity.SeaLayoutActivity
import com.fishpond.demo.databinding.ActivityEnterBinding

/**
 * 首次进入页面.
 */
class EnterActivity : AppCompatActivity() {

    private val mBinding by lazy {
        ActivityEnterBinding.inflate(layoutInflater)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(mBinding.root)

        mBinding.btnA.setOnClickListener {
            SeaLayoutActivity.jumpTo(this)
        }

        mBinding.btnB.setOnClickListener {

        }

        mBinding.btnC.setOnClickListener {
            //SeaActivity.jumpTo(this)
            Toast.makeText(this, "已废弃", Toast.LENGTH_SHORT).show()
        }
        mBinding.btnD.setOnClickListener {
            //SeawaterActivity.jumpTo(this)
            Toast.makeText(this, "已废弃", Toast.LENGTH_SHORT).show()
        }
        mBinding.btnE.setOnClickListener {

        }
        mBinding.btnF.setOnClickListener {
            BallActivity.jumpTo(this)
        }
        mBinding.btnG.setOnClickListener {

        }
        //BlueWaterActivity.jumpTo(this)
        //DemoActivity.jumpTo(this)
        //DragViewActivity.jumpTo(this)

        SeaLayoutActivity.jumpTo(this)
        //FallingActivity.jumpTo(this)
    }

}